package com.deepocean.dao;

import com.deepocean.entity.process.ProcessEntity;
import com.deepocean.entity.process.ProcessRelationEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ProcessRelationDao {

    List<ProcessRelationEntity> selectByCraftType(Integer craftType);

    int selectCountByCraftType(Integer craftType);

    boolean deleteByCraftType(Integer craftType);

    boolean add(List<ProcessRelationEntity> list);
}
